package com.qf.model;

//贷款产品表
public class Loans {
    private Integer l_id;    //贷款产品编号
    private String l_name;   //产品名称
    private Double l_rate;   //贷款利率
    private Double money;   //平台余额

    public Loans() {
    }

    public Loans(Integer l_id, String l_name, Double l_rate) {
        this.l_id = l_id;
        this.l_name = l_name;
        this.l_rate = l_rate;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Loans(Integer l_id, String l_name, Double l_rate, Double money) {
        this.l_id = l_id;
        this.l_name = l_name;
        this.l_rate = l_rate;
        this.money = money;
    }

    public Integer getL_id() {
        return l_id;
    }

    public void setL_id(Integer l_id) {
        this.l_id = l_id;
    }

    public String getL_name() {
        return l_name;
    }

    public void setL_name(String l_name) {
        this.l_name = l_name;
    }

    public Double getL_rate() {
        return l_rate;
    }

    public void setL_rate(Double l_rate) {
        this.l_rate = l_rate;
    }

    @Override
    public String toString() {
        return "Loans{" +
                "l_id=" + l_id +
                ", l_name='" + l_name + '\'' +
                ", l_rate=" + l_rate +
                '}';
    }
}
